package com.wildfire.web;

public enum DefaultErrorCode implements IError {
   SYS_ERROR("99999999", "系统错误"),
   INVALID_PARAM("00000001", "参数校验失败"),
   AUTHC_ERROR("00000002", "用户登录/认证失败"),
   ACCESS_DENIED("00000003", "没有访问权限"),
   NO_LOGIN("00000004", "没有登录");

   private String code;
   private String error;

   private DefaultErrorCode(String code, String error) {
      this.code = code;
      this.error = error;
   }

   public String getCode() {
      return this.code;
   }

   public String getError() {
      return this.error;
   }

   public void setError(String error) {
      this.error = error;
   }
}

